package com.telecomyt.jwportal.activity.login;

import com.telecomyt.jwportal.activity.login.bean.LoginBean;
import com.telecomyt.jwportal.base.i.IBaseModel;
import com.telecomyt.jwportal.base.i.IBaseView;

/**
 * @author created by chengDa
 * @time 2020/8/25  16:15
 * @description
 */
public interface LoginContract {
    interface Model extends IBaseModel {

    }

    interface View extends IBaseView {
        void loginSuccess(LoginBean bean);

        void loginOutSuccess();
    }

    interface Presenter {
        void toLogin(String username, String password);

        void loginOut();

    }
}
